import { request } from './request';

export const fetchList = (params) => {
  return request('/xunzhen-app/xunzhen/user/info', 'GET', params);
}

export const bzBaseInfoApi = (params) => {
  return request('/xunzhen-app/bazi/detail', 'GET', params);
}

export const dayunApi = (params) => {
  return request('/xunzhen-app/bazi/getDayun', 'GET', params);
}

export const liuyueApi = (params) => {
  return request('/xunzhen-app/bazi/getLiunian', 'GET', params);
}

export const liuriApi = (params) => {
  return request('/xunzhen-app/bazi/getLiuyue', 'GET', params);
}

export const liushiApi = (params) => {
  return request('/xunzhen-app/bazi/getLiuri', 'GET', params);
}

export const createBnzzdApi = (params) => {
  return request('/xunzhen-app/xunzhen/session/createBnzzd', 'post', params);
}

export const wxShareConfigApi = (params) => {
  return request('/xunzhen-app/appUser/getWxShareConfig', 'GET', params);
}